﻿// -----------------------------------------------------------------------
// <copyright file="Rule.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

using System.Text.RegularExpressions;

namespace TPTecnicas.MailProcessor
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public abstract class Rule
    {
        public abstract bool ApplyTo(IMessage message);

        protected abstract Match GetMatch(IMessage message);
    }
}
